package com.api.main.service;

import com.api.main.dto.RedPacketDto;
import com.api.main.model.RedRobRecord;

import java.math.BigDecimal;
import java.util.List;

public interface IRedService {
    public String handOut(RedPacketDto dto);//发红包
    public BigDecimal rob(String userId, String redId);//抢红包
    public void saveRed(RedPacketDto dto, String redId, List<Integer> list);
    public void saveRobRed(RedRobRecord redRobRecord);
}
